Fixed log image bug.