Corrected the mouse check

The mouse checks for the whole bounding box. Corrected the input rectangle being misplaced when console.y is not 0