You need to stop the bed from flying up, obviously.
Fix it in place permanently.
Do a little construction.
Try nailing it down.
If you don't have them already, get the coffin nails from the crypt where Stan now has his office.
Then just use them on the bed. If you have the mallet from the cemetery, Guybrush will automatically hammer them in.