Improved global level mouse events.
Merge branch 'dev'