Do not create a pixmap if a context creation failed.