[OE-4338] Fixed caching of drawing instances, new dist files, added tests.