Image Resizing feature not working in my site

I have enabled image resizing option in Smush pro and set the max-width and max-height to 2048. This is not working, instead, full-size images are being uploaded to my media library. Please fix this for my site.