invest: Fix popup window in gtk3 version