Added proper MediaEvent support for panning