Improves handling of repeated sprites