Sync overlays before add.
Merge pull request #1 from atykhonov/master

Sync overlays before add.