Debugging the dragging code.

Removed dome redundancy in screen clearing.

I also removed the 0.5 offset from the render engine. The peculiarities of
the HTML5 canvas should be left to the programmer to deal with.