I _think_ I fixed the problem in my copy of the game.
I went to \gui_modules\Universal\Scripts\InteractiveMessageModuleAnimated.gd and commented out this line from the from the removebaby() function
input_handler.active_character.get_stat('pregnancy', true).baby = null
and pasted a copy of it just before the close() statement in the set_baby_name(text) function
Not sure if that's a 100% correct bugfix, but it seems to fix the problem for me.
Step one: Go to your Strive directory
Step two: Use any text editor to open \gui_modules\Universal\Scripts\InteractiveMessageModuleAnimated.gd
Step three: Find the keepbaby() function and copy the line " input_handler.active_character.get_stat('pregnancy', true).baby = null"
Step four: Paste that line just above the close() line in set_baby_name(text).
Step five: Put a # in front of that line in the keepbaby() function.