Fix flickering test.