Bug 981020 - Initialize the map before using it in nsWindowGfx::CreateIcon. r=mattwoodrow