partial fix for Safari - still flickers and allows overrotation