Fix adding Vector layers during a zoom animation. Fixes #2416
Merge pull request #2419 from danzel/vector-during-zoom

Fix adding Vector layers during a zoom animation