Corrected a bug where a texture would not be correctly created