Leicester thought they had retaken the lead, but James Maddison's finish was ruled out by VAR because of a foul in the build-up.