gfx: Fix imprecision in `float_to_fixed`.

Improves text rendering a lot.

r? @zwarich