Fix designer mode
Merge pull request #84 from hannu/fix-designer-mode

Fix designer mode