Prevent the annotationLayer to be recreated when the page is redrawn

This allows interactive annotations to keep their states after a resize
Merge pull request #4552 from dferer/annotations-refresh

Prevent the annotationLayer from being recreated when the page is redrawn