Character stops at edges of playing field