fixed UI: case ``args.size < 0``

(cherry picked from commit 261bcc2a3754c9d6a442aeeb0b474888f689a2e4)