The problem is that sprites are different from the objects that use them. In my naive understanding, the program assigns properties to objects, and not to sprites.