Were Ukraine denied a legitimate goal against England?

Marko Devic celebrated but the officials felt John Terry had cleared it off the line.