Fixed bug with initial image