Oakland Raiders find way to lose ugly game