Fixed some drawing code and floating point (v0.1.4.a1)