Make sure image is cleaned up if bad tile size is loaded