fix some issues with texture/mipmap_tree state tracking
3 files changed