Fix ScorePanel issue

Change inheritance of ScorePanel class