Fixed canvas scrolling and set window size limits