Change canvas size, fix game references in handle input