Fixed bug #8440

Fixes bug #8440.

The player's stats are now only calculated once.