[DF-5527] [DF-5608] fix sprite choose dialog on MacOS