Fix Element#inspect for document and window