Bug fixes

Fixed mouse clicks being misplaced