[Fixes bug #1188903] Fix the Freeform Shape tool for some platforms.

Calling LineTo() without doing a MoveTo() first is a bad idea.