Correct bubble-wrap/media dependencies. fixes #339