fixed drawing empty tiles, reading layer > 1