When the viewport is not fullscreen, the view is cropped and distorted after applying a shader. This is due to using SCREEN_UV (meant for SCREEN_TEXTURE) instead of UV (meant for TEXTURE).