[FIX] Fixing const bug in _getClippedLength().