Addresses an issue where removing parts of the timeline was inaccurate when the timeline was scrolled. This fix ensures accurate part removal regardless of the scroll position.