fix font cast ordering so fonts can be set