[misc] Fix flickering test.