Hi Dominik,
Thanks for your email. I think this happens because when enabling picking some events will only be triggered when they're applied to the pickable objects. So click mousemove mouseenter mouseleave will all be only triggered when this happens on top of a sphere for example. I think this is the issue.
A way to workaround this issue would be to add an event to the canvas element itself when the onLoad to update the mouse coordinates. So you could remove the onMouseMove handler and add:
onLoad: function(app) {
//right before the basic gl setup
canvas.addEventListener('mousemove', function(e) {
//use e.clientX and e.clientY to update mouse coords
}, false);
}
I hope this helps.
--
Nicolas Garcia Belmonte -
http://philogb.github.com/