add security check to mouse handler
Merge branch 'master' of https://github.com/grimfang/rising_reloaded