Added mutex for every painter