Fix for non continuous images