More small changes moving towards finishing the GIF raster reading

Found a situation where the raster data isn't reading correctly in GIFs.
Need to look over the algorithms again