QmlDesigner: Fix empty text drawing

Task-number: QTCREATORBUG-12119
Change-Id: I1ff6896e6ff2f5b412e6e78e5d9129bf325ff9b1
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>