Linting
Fix window resize bug