fix for full screen mode when not embedded inside iframe