Added a y offset to saveWidgetState to work around an apparent Qt bug.