input manager clips centered x and y mouse to size of window