Fixed an issue with photo finish and time trial mode.