Limit to 3 active maskable layers issue #51