Not if prices collapse everywhere you might want to move to. Then it’s not a problem.
The loan is backed by the property, regardless of fluctuations in its price. The bank takes the risk that the property may be worth less (or more) than when they gave out the loan.
My point was that a drop in all property prices doesn’t stop you from selling and buying in order to move. Just like an increase in all property prices.