Today composited plugins always generate a contents layer. We should add logic to check if a plugin contains painted content or contains only composited content and if so avoid making a drawable content layer.