fixed bug where if any layer reaches its max keyframe in a timeline, it is no longer drawn