Fixed rendering issue on iOS.