Penalty trouble costs Trojans