When adding legend to a drawing, it doesn’t scale properly when zooming in and out