Bug Fixes

Fixed a problem with incorrect detection of mouse position on click