Fixed a minor bug when there is no clef.