Apply TrinityCore bounding box only if TrinityCore settings are enabled, otherwise use the default bounding box of the loaded mesh.
This fixes an issue happening after 07d98a0a40f5e4ae0249b6386ab7e7dc5de57bad that wouldn't allow paths to start/end in the part of the mesh outside of the bounding box.