Fix mouse move event errors

Catch permission errors thrown by firefox when trying to access the mouse move event object originating from special elements.

Fixes #184.