Fixed a bug that occured when inserting a third staff