force floating point math for image width calcs