working useless gaps for window visibility