Fix setFont for FireFox