I'm having a problem with my Pi2 when it's connected to my HD monitor via a KVM switch. A small, bright multicolored square about 1cm square appears not far from the top right corner of the display shortly after the machine starts booting, and remains there until it shuts down, even when the X window desktop is showing (Raspbian OS).
This does not happen with two different Pi1s connected via the same KVM switch, running either Raspbian or RISC OS.
What's causing this and is there any way to cure this problem?