Fixing how the image split works