fixed wrong texture trafo
temporarily added some debug stuff