workaround memory leak between MJPEGDecoder and Display