Fix random weird texture rendering

fixes #65
like 0662d1b