Fixed a bug where the popup was jumping

Fixed a bug where the popup was jumping

issue #3547