Avoid crashing on adding object to new project
Avoid crashing when trying to draw wrong-sized tile to a layer.