Revert "Now truly fixes #1409. Previous fix broke the mobile version."

This reverts commit 83e4f5fedb4eafea1cdb63dcd28b51f350c30e0b.
Properly fixes #1410. Events are propagated in javascript.