boxes: Fix calculation of rounded rectangles
Since 68fba458 the function is used for more calculations, exposing a bug when used with fractional scaling.
Fixes #609 (closed)
Since 68fba458 the function is used for more calculations, exposing a bug when used with fractional scaling.
Fixes #609 (closed)