fixed a bug where attacking up made you get stuck if you spammed attack