Fixed black screen on game start for X11 contexts.