Reverted some of the rounding changes introduced into #49 (Fixes #51).

It turns out browsers accept sub-pixel values, but render by truncating the value. This means when we use limited precision the values do not get rounded the same way after the rectangle is repainted. This is what caused the skipping issue in #51.

Also disabled some unecessary logging lines.