fix layout editor issues

Fixes three issues:

* 1834: fix dragging of blocks in recent Chrome releases
* 1835: fix handling of enter key in text filter box
* 1850: make sure teaser block can't be dragged except when editing the page