Mouse hotfix

Fixed mouse coordinates
Merge pull request #5763 from Graywolfe813/TileUI-fix

Mouse hotfix
Mouse fix part 2
Merge pull request #5770 from Graywolfe813/TileUI-fix

Mouse fix part 2