Changed input mouse coordinates to be ints