Modified to get IME size from libscl-ui-nui