Fixed bug with initial texture resizing.