workaround for StaticLayout crash
Merge pull request #88 from menny/master

workaround for StaticLayout crash