Yeah the input dropping happens when the cursor leaves the "play area". Basically it was a hacky solution to stop the player from clipping the food out of bounds. Thanks for checking it out!