Changed Widget center* methods to use the setPos() method to allow polymorphic behavior on centering actions