Added blank cursor creation error checking on X11.