Fix frameNumber
Fix updateChildrenState
Add texture & shader management