Fix dark image bug