fixed bug to render dialogs properly with oxygen-gtk