bugfix: selection outline get updated at the end of update to the canvas