Small fix for dialog screenshots