Rearrange assignments so sprite list is always in consistent state