Updated mechanism to load image in ProfilePicture control.