The issue was that the code path for layered actions never hit the function `remap_cyclic_keyframe_location`. The solution is to move that logic into `insert_vert_fcurve`. My reason for why this is the correct solution is that the remapping happens on a per FCurve basis, so it should be within `fcurve.cc`. Doing so ensures that the layered actions also hit that code. Pull Request: https://projects.blender.org/blender/blender/pulls/126399