Fixed bug in handling adding layers from plot. Matplotlib can return multiple events for a single click when we assumed it could only be one (resulted in indexing with an array)