Fix drawing main canvas