fix for large windows