I just realized Megamind deliberately taunted Titan, here, so that Titan would punch him and, as a result, he'd be closer to the invisible car.
"This is the last time you make a fool out of me!"
Thinking: invisible car is right theeeeeere, if he punches me, I'll be closer!
"You did the fool thing all by yourself!"
*lands exactly where he wanted to*
Megamind made a similar move in Button of Doom.
The giant robot has a thing on his arm that he can load up with heavy objects (like cars and trucks) and a red button that shoots those objects out. Weapon.
Megamind, here, was just about to get roasted by the same death ray that "killed" Metro Man. It's meant to destroy the robot but, as you can see, Megamind is ON the robot (spee-ider bot). So Megamind needs to get out of there ASAP or he's gonna get blown up along with the robot.
Fortunately, the robot is tryna squish him. Where ever Mega goes, he hits with his robotic hand, tryna smoosh him.
So Megamind jumps on the red button, as seen above...
Then positions himself so that he'll be shot out once the button is pressed.
So basically, Megamind's living up to his title.