Fix non-frame-aligned trims when using trim-to-playhead.