Fixed a bug in Creature:canStandBy function.