In the level editor go tools/update tiles used, then save. Do this after you add any animated tiles, window tiles, ladder tiles, invisible tiles etc. Basically do this after changing tiles it doesn't take long unlike occlusion data. Otherwise the tile flags don't load properly.
Also if you...