Fixed shader problems that occured with different hardware.