fix bounding rect issue; expect floats instead of ints as coordinates.