Bug 1008134 - darkwindowframe attribute should be set before the first paint. r=gijs a=sledru