Camera shadow problem

So I have this strange issue where the shadow of the character look correct. But when viewed from the camera they look cut off.

[Correct]

Viewed from the camera [Incorrect]

Plausible reasons of this:
You are using displacement on the floor and/or
the angle sun/floor i zero or almost zero.
If second image is rendered it may be some composition nodes problem.

Nope, no displacement. Also changing the sun angle isn’t helping.

[EDIT]

Actually found the problem. It had something to do with the “Contact Shadows” in the sun lamp.
So that threw me way off because shadows are different when not viewed through the camera and depending on those settings.