Disable PresentationMode for certain problematic configurations

Instead of trying to hack around various browser defects, let's just disable PresentationMode in the affected browsers. This patch:

- Disables PresentationMode in IE11+ when the viewer is embedded; fixes #4711.
- Disables PresentationMode in Safari; fixes #4561.