I have created a patch that makes xjump always draw the game area with the same height, which stops it from drawing fake platforms under the "death line" if the game window is vertically resized.
This should resolve bug #352622 and bug #680322 Unfortunately, I couldn't figure out a way to center the game area if the screen is horizontally resized.
phantom-platforms.debdiff
Description: Binary data