adjusted canvas-size to minimum