Set the scale before the shader
Open **Settings > Video > Scaling**, enable **Integer Scale** and set the aspect ratio to **Core provided** or **1:1**. Stretching to 16:9 destroys the geometry a CRT shader assumes.
Integer Scale: On
Aspect Ratio: Core provided