Simplify buffer clear test to not to initialize a rasterizer