Enable mouse tracking for web application

Mouse hover and move events were not being passed to the HTML5
application. This is now fixed.