Fix image issue on first load