fix editing of barline with keyboard