Fixing issue #541: playback halts on Safari on Mac.