Fix ContextMenu display issue on high-resolution screens