[#2] Adds fix for image previews to appear in the center of their parents