Bug fix in the texture rect serialisation