fix initialization of shader varying variables