Update Element.java

The fix you suggested does indeed cause the text to be anti-aliased.