RTS: Support floating point values in drawing commands.

Fixes #4504