Fixed MediaLibrary.patch