libaurum: Fix error that cause crash when execute getWindowRoot function