Generated images no longer removed when size is too big