Fixed a layer priority problem and a bug related to empty image tiles.