Fix returning from fullscreen with desktop safari