Made Pac-man scale proportionately with the screen instead of being fixed-size;
Fixed a corner-case issue with missing turns in the Pac-man example