Fix switching on/off the score window