fix opening pinned popup when move popup is open