Add TextureRegion support to TextureAttribute, see #2321