[[ Bug 13650 ]] Prevent a crash when opening stack