Fixed image not loading on open()