Fix for a white flash when first loading the preferences window.

When using auto layout, the toolbar and window chrome appears white for
a second when the preferences window is first loaded and displayed.

This fixes the issue.
Merge pull request #6 from github/fix-white-flash

Fix for a white flash when first loading the preferences window.