MouseHit() does not work sometimes

BlitzMax Forums/BlitzMax Programming/MouseHit() does not work sometimes

I do this.

I have also tried directly calling MouseHit(1) several times. Both require being called several times to get a response on this PC.