Fixed some flags in calls to CreateWindowEx.