Attempting to fix bug where image is saved before it is loaded (I thought I already fixed this)