Only instantiate new Image() once the image is ready, looks like it prevents a crashing problem on the iPad