Pacman moving only along path -working