The "9libs" version of libXg doesn't appear to have this problem.