Fixes #7
Handle window resize
Fix drawing when zoomed out