fix issue with dymanic map layer not firing load event