core: Fix some popup diplay issues