Same problem as https://github.com/SciML/OrdinaryDiffEq.jl/pull/1348 with a similar solution.