Workspace is now adjusted according to the input image size.