Changed texture creation method slightly. Still wrong.