Update canvas correctly after a macro was executed from TBrowser