Fixing exception dialog's resize.