Closes #44 (Sometimes overlays are not created)