Fixed rectangle glitch in pac-man