Fixed a resizing bug that occurred when filters were open and window res...

...ized.