Changed floats to ints

Because coordinates are in pixels, ints work better