Fix rendering on iOS.