Console: prevent some potential crashes on native, closes #1200