Added test to verify the window is always filled and views are not cut off