Make sure the workaround is not triggered outside of Mobile Safari or when running standalone.