The live action-animation hybrid comedy fought a real-life studio battle to win its theatrical release.