Removing accidental animation event