Fixed callback. Waiting for until image is loaded.