Targa decoding fix