Restrict the initial loading to the size of the canvas