The visiblity of the preview dialog was not synced with the preview action in the main window. Also the preview image was not created when then same puzzle was opened after going back to the overview.
Don't leak PuzzleComponent in GamePlay::loadPreview()
This is a backport of commit 851870fbfae1 to the kdelibs4 based 17.08 branch.