QmlDesigner: Fix quick position update for states

It is ugly but the workaround is ugly anyway.

Change-Id: Idcd55e19e9c97b0bfce0863cfcbe9f7ca18bf5bf
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>