fixed initial play/pause state bug