Don't call `unbind()` on undefined objects

Dragging a block element into an non-editable region resulted in a
JavaScript error. This error caused HTML artifacts to be left in the
region instead of aborting.
Merge pull request #1062 from najor/hotfix-rt57629

Don't call `unbind()` on undefined objects