Modified widget/base.py to line up windowname

There was apparently a rounding error in the calculation.