jit.pwindow and idlemouse in max5

I’m having a problem with pwindow in max 5. When the idlemouse attribute is set to 1 the mouse click detection does not work properly. It defaults to outputting 1 and changes to 0 momentarily on clicks. This is very different than the behavior in max4. Is there some way to get xy coordinates without clicking as well as proper detection of all mouse clicks?