Line object coordinates are correct

Patch for issue #1018.

I've reapplied my previous changes to current master.

@kangax was right, the rendering helpers were unnecessary. I've removed them, and the rendering translation uses `getCenterPoint`. I've left a comment in that section, as I had some trouble wrapping my head around what was going on.

I tested against builds done with `modules=ALL exclude=gestures`.