Fixed flickering problem

Test Plan:
- Open scratchpad
- Scrub number
- don't see flicker