more work on sprite animation support