As it turned out, Fred was adopted by his closest family, which were the McMillans. So right after he made his wish, he found himself in one of the bedrooms in the McMillan house, which he had been in before, but only as a visitor.
Now, this room was his room and this house was his house.