How to turn off the effect of one character jumps, another character on top of it will jump higher

How to turn off the effect of one character jumping and paused in the air, another character on top of it will jump higher. Also, when the bottom character falling , the character on the top will jump lower than normal.