[MP] Correctly calculate jump apex for NPCs

This commit is a fix for f0b8609.