Made canvas scale with window