Resize mindmap when showing legend