The official line is:
Taylor saw it as a foul (it wasn’t) and played the advantage. Then, when he saw the keeper needed treatment (he didn’t), he brought an end to the advantage so that the physio could come on. And apparently a dropped ball to the keeper was then the correct thing to do after that.
I mean, it’s clearly a load of shite, but that’s what we have to swallow (the metaphorical shite, that is, not literal shite)