Update Main.py

trying to get rid of flicker