Take exact size of deepin-ui window.