very important background bug resolved: do not continue with SVG loading before you dispose background layer