Rectangle contextmenus added correctly.