CCDFrame: Fix dialog freeze during image exposure

Bug:https://github.com/kkretzschmar/PixInsightINDIclient/issues/13