Pausing the player now works properly.