Use waitForRendering instead of wait(20).

Now that we wait for updatePolish() instead of a LayoutRequest event
this should be more reliable

Change-Id: Ib58ca3efdc9fcc5ddd9577f8c1791858d1cbe362
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>