Yup, a foul is a foul whether player falls over, or goes on to shoot. The decision you have is whether there is enough of an advantage for the attacker, or do you pull it for the penalty.
In this case you have called the pen, no advantage gained, fair call.
Was it a red for DOGSO? From what...