Make sure that the defaultView exists before attempting to get at the computedStyle...