Fixed several issues with dynamic font