Simplify source positions for element nodes