Fixed ImageSizeUtils.defineTargetSizeForView() NPE crash with standalone
ImageViews.