Rearranged xcb_map_window so that visual artifacting doesn't occur.