23.98 is merely how 23.976 is represented by software that can't show three places after decimal point. Never use 23.98 as a frame rate. If you do, then you will encounter frame rate mismatches like the one that you're experiencing.
---------------------------------------------------------------------------------------------------------
Todd Kopriva, Adobe Systems Incorporated
After Effects quality engineering
After Effects team blog
---------------------------------------------------------------------------------------------------------