prevent drawing toolbar in certain game scenes