fix mess with x/y/n/m/width/height/offsets in sprites framework