core & ui_qt: fix cursor issue and improve design