Make sure that body is still attached to document