ImageLoader: fix for changed RectangleUtil.fit() signature (closes #328)