On further experimentation, I found that if I run fluxbox I don't have this problem. It only happens in gnome. Mike