Is the RB Transport stopping when this happens as well?

If so, it may be that RB thinks the end of song is earlier than where the generated track ends...