You’re not missing anything. Housing is included in CPI as rent. Housing purchase prices aren’t included because they represent both current and future housing consumption (people don’t consume a house within a year).
People are not forced out of their homes when their mortgages go underwater, they're forced out when they can't afford to pay the mortgage (underwater or not).