[[ Bug 12264 ]] Make sure we check correct setting of WD_MAXIMIZE decora...

...tion, and use F_RESIZABLE flag at appropriate place when window created.