I created a small compartment to store and breed villagers, but while inside the room, I had noticed that a certain corner of the room would raise me up the exact same amount that a bed would in a Y value, though it does not have the same 1x2 proportions as a bed, as either side of the invisible block would randomly raise up by the same amount. I had not previously placed beds on that block before and this had always been a 1.15.2 world. I'm not sure exactly how to reproduce this bug and no this was not done on a server.
Does the bed reappear after you log out of the world and log back in again?