Active texture unit fix.