diff --git a/components/JFScene.brs b/components/JFScene.brs
index 1948a8a2..e2ff69c9 100644
--- a/components/JFScene.brs
+++ b/components/JFScene.brs
@@ -11,7 +11,7 @@ function onKeyEvent(key as string, press as boolean) as boolean
return true
else if key = "options"
group = m.global.sceneManager.callFunc("getActiveScene")
- if group <> invalid and group.optionsAvailable <> invalid and group.optionsAvailable
+ if isValid(group) and isValid(group.optionsAvailable) and group.optionsAvailable
group.lastFocus = group.focusedChild
panel = group.findNode("options")
panel.visible = true
diff --git a/components/JFScene.xml b/components/JFScene.xml
index 7f6a82c9..c0e4f0a0 100644
--- a/components/JFScene.xml
+++ b/components/JFScene.xml
@@ -8,4 +8,5 @@
+