Interesting wave on python Tkinter