Avoid crashing and empty tiles