Bristol City capitalised on a defensive lapse from Sheffield Wednesday to take a point courtesy of Ross McCrorie's header four minutes from time.