Fixed gesture so that it doesn't intefer with panel content existing gesture, fix shadow to use shadowpath for better performance