Suggested patch to frame-x.c -- make sure icon is there before open