make sure draw tool is not activated for vectorLayer or rasterLayer (closes #179)