Properly recenter widget