fixed issue 1260, custom shaders didn't work with SpriteCache