Dynamic transition in deposition with a poisoning species