EXP Bars only fill up to around 75% before a level-up

The EXP bars don’t seem to take in consideration the last 25% of the bar, as the creatures do require de appropriate amount of experience needed for a level-up, but the bar only fills up to 75% before resetting.