Fix stuck problem when move does nothing