What worked for me is I deactivated and reinstalled “Elementor – Header, Footer & Blocks” plugin and the problem is gone. If you don’t have the plugin, then I’m not sure what’s the issue.
Alright, looks like I found out the problem. I deactivated and reinstalled “Elementor – Header, Footer & Blocks” plugin and it solved the problem. Looks like nothing to do with both Elementor and WooCommerce. Thanks for the answer anyway!