I found how to fix this bed problem but I can only do it on Creative / Survival (with cheats on). So, when you are entering the world, you must spam open chat until you are in the chat. It shouldn't crashes the game. Then, type "/tp @s (any coordinate)". If the chat says
"Successfully teleported to (coordinate you put in), that means you are teleported. If you aren't teleported, try again. Leave the chat, and that should make your MCPE crashed again. Then, open MCPE again, again join your world. It should be fixed. (Btw, I am not a mod or anything, I'm just helping)
I haven't found a solution for Survival mode, but I hope I can find one because my survival mode is unplayable with this bug.
Justin Jones tysm bro! Your advice is actually working and my survival world is now playable! Ty so so much.