fixed an issue with gaps in single windows