Fixed bug on resetting while in vision state