Fixed: Lyric alignment was incorrect

This commit fixes lyric alignment to prevent lyrics from being aligned to different voices or to rests.