Fix for Chrome rounding bug