So i added not fallen condition, it works almost perfectly
camera follows the player when it jumps, but there is still an
issue. In the game there is a platform which throws the player really high and the camera remains behind so the player is outside the layout.
When the player falls down, the camera still follows a bit, but
that isn't much a problem since it gets outside of screen pretty quick.