Resize the canvas buffer if it is targeted to parent object