Fix Tkinter preview

Fixed bug with int division that was throwing off location of everything