Snake movement fix, including a proper idling state and minor bug fix for attack