Found it. Since version 2.0.24, turrets receive the range buff from ammo range modifier (they didn't before). However, when turret uses target leading functionality, it causes a bug and projectiles detonate at base max turret range. This is a vanilla bug, I'll make a report on the forum. However, since Christmas is so soon, I don't expect this bug to be fixed until after New Year's. I'll publish an update to remove the range buff from the shells for a temporary fix until devs release the bugfix.