Fix iOS rounding issue regression