Fix rounding behavior of uint8s in shaders