update wander mode to respect  player's width & height size;
update player direction in wander mode