fix border gaps (at least in wine)