fixed halos on Linux (see df6c9e92)