Controversial calls cost Panthers in loss to Cowboys