Fix focus bar giving a lua error

Fix focus bar giving a lua error