Fixed tex rendering