Added basic size changing, need to take care of canvas redrawing
Fixed that canvas rendering bug