normalize graphics elements