handle nan as a potential color in opengl
Some rendering (such as value pass) may set the clear color to nan. So modify the caching checks to handle nan clear colors.
Some rendering (such as value pass) may set the clear color to nan. So modify the caching checks to handle nan clear colors.