SetMapMode should not reset the window and viewport origins to 0.