Modify populateMenu to fix dragging

When shapes are inserted into a particular viewport in a quad view
window, this commit grabs the correct viewport's controlproxy with the mouse.