moveTo() doesn't properly position the head