Handle window resize
Fix drawing when zoomed out