Fixes iframe viewer for safari