Make sure coordinats are passed as integers