bugfix dot image

fixing the dot image generation in the editor