fixing pacman animations