Fix the initialExtent implementation in `WindowModel`