Always round x and y coordinates when using translate