Fix freeze/hang when calling AL.create() before Display.create()