Work around the 0-sized content item in Qt <= 5.2.

This causes an empty preview, since our shader effect source follows the
size of the content item. This is fixed in Qt 5.3, where the content item
has a properly updating size.