Revert "Added rectangles to check mouse position"

This reverts commit 35750f1f424b36b70a76c12bc8797a1055985201.