GUI: fixed cppcheck-warning for comparing unsigned variable with '<= 0'