Improve Xft use in window