Bug 946532. Fix crash on startup with basic compositor and d2d. r=