             @element.bind "halloselected", (event, data) ->
                 widget = data.editable
                 position = widget._getToolbarPosition data.originalEvent, data.selection
-                widget.toolbar.css "top", position[1]
-                widget.toolbar.css "left", position[0]
-                widget.toolbar.show()
+                if position
+                    widget.toolbar.css "top", position[1]
+                    widget.toolbar.css "left", position[0]
+                    widget.toolbar.show()
 
             @element.bind "hallounselected", (event, data) ->
                 if not that.options.showalways


            position = [tmpSpan.offset().left, tmpSpan.offset().top]
            tmpSpan.remove()
            position

        _prepareToolbar: ->
            that = @
            @toolbar = jQuery('<div></div>').hide()
            @toolbar.css "position", "absolute"
            @toolbar.css "top", @element.offset().top - 20
            @toolbar.css "left", @element.offset().left


            if not @bound
                @element.bind "focus", this, @_activated
                # Only add the blur event when showalways is set to true
                if not @options.showalways
                    @element.bind "blur", this, @_deactivated
                @element.bind "keyup paste change", this, @_checkModified
                @element.bind "keyup mouseup", this, @_checkSelection
                widget = this
