Checking if framebuffer is complete before clearing it.