Fixed the problem with different window sizes