Added maxbarsize for the gamebar