You should never rely on that wraparound in case the commands change in the future with different wrap around values for some reason. You should manually tell your drawer to not draw when the object is off-screen and then when the X or Y values pass a certain point, subtract the loop around values from them.