Fixed a bug when using 8bit textures where the scan-lines wouldn’t be filled correctly