Added UI capture patch for MediaPortal