Fixed bug where images could be saved before they were even loaded =/