firmware: fix for deadlock when opening/closing GL