fixed bug

food position now changes if screen is resized such that food is off-screen