Fix issue with active stat colour on switches not being set