Added checks for X mouse coordinate being >= 0 and a test for JAL-2750