Point in polygon collision detection for mosue event propagation