Fix LayerManager skip bug