Avoid null dereference on raster cache miss race condition.
Correct MSVC compiler warning.
3.3.2330