Popup alignment correction