Fixes edge case when stopping presentation mode.