Fixed bug causing the xp bar to not obey showstates