A spacecraft must be aimed at where the planet will be when the spacecraft arrives, not where it is now. Both the spacecraft and target planet are moving in their orbits, so you must calculate the planet's future position at arrival time. Aiming at the planet's current position would cause the spacecraft to arrive where the planet used to be. 'Midway' makes no sense for intercept trajectories.