fixed a bug in tga loading where we were returning -1 instead of false