Make possible to remove mouse events from a polygon