Fixed texture creation size
Merge pull request #3 from brendor/master

Nice find :D