First, sorry for the wrong game, but it actually happened on PE edition and on the version of 1.9.0. For the bug it self, when I supposed to respawn beside my bed which is on the first floor, I respawned on the second floor instead and I take damage from falling. Please fix this ASAP so....you know.
Linked issues
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-39261, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.