Fix freedrawing (bug exists since commit #6b5f049bb0a459dd29e2927ed99094b3e7baec66)
Merge pull request #1517 from Kienz/issue1516

Fix freedrawing