fix moving snake/food to correct modular movement. window can be resized midgame correctly.