Sliding window bugs