Updated the powerup logic

Now Pacman unpowers correctly