Topped balls are not caused by picking up your head, what you are really doing is losing your spine angle and lifting your entire body off of the ball
Practice this 2-step swing drill to check your half-way back and finish positions
Correct your posture by setting up with your spine tilted slightly away from the target