Fix MMAL frame handling