Stopped unnecessary redrawing of the handle bar when canvas changes