Prevent possible crash by disabling certain controls during playback.

Thanks to codec_spurt for reporting it.