Adding min and max sizes to canvas resizing