switch from frames_per_pixel to samples_per_pixel in the one canvas object that uses this
change frames_per_pixel to samples_per_pixel