Friction when running into walls and jumping

When my character jumps, he reaches a height of about 310. However, when he jumps next to a wall and the player is pushing the character into that wall, the max jump height only reaches about 300.

Is there a way to override this?