fixed bugs preventing child products images from being loaded correctly