I think the delayed inputs is on purpose to make your snake stay in the grid. It's also like that in the orignal snake game.