Bugfix with saving dock info for next session