So apparently, I messed the math up, instead of
(img_tk.width() / int(2) + 1)
I need to add the 2, not width/2, meaning I add to add brackets like this:
(img_tk.width() / (int(2) + 1))