                   bounds: bounds
                   depth: depth
                   classes: rules
-                  parseContext: (if wrap? then wrap.type else rules[0])
+                  parseContext: rules[0] #(if wrap? then wrap.type else rules[0])
 
               @addBlock
                 bounds: bounds
                 depth: depth + 1
                 color: @getColor node, rules
                 classes: rules.concat(if context? then @getDropType(context) else @getShape(node, rules))
-                parseContext: (if wrap? then wrap.type else rules[0])
+                parseContext: rules[0] #(if wrap? then wrap.type else rules[0])
 
           when 'indent'
             # A lone indent needs to be wrapped in a block.

            bounds: node.bounds
            depth: depth
            classes: rules
            parseContext: (if wrap? then wrap.type else rules[0])

  TreewalkParser.drop = (block, context, pred) ->
    if context.type is 'socket'

                bounds: bounds
                depth: depth
                classes: rules
                parseContext: rules[0] #(if wrap? then wrap.type else rules[0])

            @addBlock
              bounds: bounds
              depth: depth + 1
              color: @getColor node, rules
              classes: rules.concat(if context? then @getDropType(context) else @getShape(node, rules))
              parseContext: rules[0] #(if wrap? then wrap.type else rules[0])

          when 'parens'
            # Parens are assumed to wrap the only child that has children
