GUI: Fix a potential uninitialized variable warning