Fix MaterialInstanceConstant texture parameters not working consistently.