Scale canvas according to browser window size