fix #33141: Tick and untick 'small staff' and 'invisible staff line' (Staff properties) works badly