Fix findIndex, increase default atlas size and set crossOrigin on images.