Capirossi battles back to seventh