Ensure that we are not painting when the current block is different from what the opengl thread knows