Castleford dug deep but Witgan proved two strong in battle of unbeaten teams