Not directly filed as a bug report as I first wanted to know if this is the intentional behavior but when we select a window to set it to front by clicking on it, "Receive Mouse Clicks" directly fires an event.
May be unhandy for all the drawing stuff.
Maybe the first click should be ignored ? Or optionally ignored ? Perhaps some cases could need this though.