                     trigger.style.display = if triggerRelevant then '' else 'none'
             else
                 tidyTriggerGroups(triggerGroups)
+                lastPositionTriggers = null
         lastPositionTriggers()
 
     # Normally, we add the div.fb-hover when the mouse first enters the .fr-grid-td, but for the TinyMCE, if we do


$ ->

    # Save reference to last operation that positioned the triggers
    lastPositionTriggers = null

    # Create a div.fb-hover inside the td, if there isn't one already

    tidyTriggerGroups = (triggerGroups) ->
        $(triggerGroups).hide()
        $('.fb-cell-editor').append(triggerGroups)

    Builder.mouseEntersGridTdEvent.subscribe ({triggers, triggerGroups, gridTd}) ->
        gridTdId = gridTd.id
        lastTriggerGroups = triggerGroups
        lastPositionTriggers = ->
            # Move cell editor controls under this td
            gridTd = YD.get gridTdId
