Fix context menu position bug