fix shift-double-click on maps with vector layers #2189