Fixed vertical scaling for changing windows