Attempted to improve scaling by using fractions for x, y, width, and
height instead of integers.

So far, this seems as a clear improvement.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>