Fixed crash when disguising the spy as an infantry without stand2 animations

Workaround as the complicated fix in #4254 does not work.