Fixed an issue where the selected image would not appear in the view controller.