Fixed the presentation mode problems.