Fixed performance issue regarding toEM and autoTextSize