X11 - fixed error handling when finding displays