diff --git a/Common/UI/Screen.cpp b/Common/UI/Screen.cpp index 0a16161db0..0851469985 100644 --- a/Common/UI/Screen.cpp +++ b/Common/UI/Screen.cpp @@ -119,6 +119,8 @@ bool ScreenManager::key(const KeyInput &key) { void ScreenManager::axis(const AxisInput *axes, size_t count) { std::lock_guard guard(inputLock_); + if (stack_.empty()) + return; stack_.back().screen->UnsyncAxis(axes, count); }