Move updateCropRegion to later moment to set correct values
Load image at a later moment to set mask correctly
Check for width and height undefined because those are optional