linux pan event fixes