zIndex fixes to canvaslayer