Fixed texture rendering. Closed #2.