fix texture state tainting other instances