core fixes in OBJLoader