fixed texture upload error if size is 1x1