Issue with repeating items not making variable available to component. 3rd image is inside component being repeated