Set default layer and cursor layer z-index so they display correctly.