minor bug fix to shader for more upto date cards