fixed bug turning player to minifreeze on stateupdate