CSS: Bugfix for resize windows effect