Fixes powerup bug