Fix text rendering on non-integer x position.

Rendering at non-integer x position makes first character of every line
disappear. It is because the position gets rounded down to integer and later
compared against the original float. First character then seem to be out of
the text area.
Merge pull request #1526 from michalsrb/next

Fix text rendering on non-integer x position.