Bug 527: Limit tilemap and background layers to (LAYER_GUI - 100).