Fixed dynamic loading of overlays.