Fixed connected textures bug.