We have a similar setup but not that problem. Could be because our KVMs meet certain standards. Many KVMs, especially on the cheaper side, have some side-effects like this when switching between machines because of how the hardware/connection is emulated in the KVM. Have you checked the Citrix server for a setting to control this behavior? (ICA is client-side, right?) I think that is the only place you will fix this problem without buying new hardware. Like this.