[Panels] Re-build context menu when changing position