Cosmos salvage point in 4-goal thriller