No it was ruled offside because the dude in front of Courtois was apparently interfering with play. There was no way Courtois would've gotten to that ball regardless of who was in front of him. Not a good decision.
If you want to argue the law needs to be changed, that is a different discussion.