Defense rescues victory for Titans