Ok i found the cause of the problem and it has nothing to do with Gutenberg or ACF so mods can delete this thread. Basically wp_reset_postdata() was missing.
Update: for some reason it works in any other page on the website but not on the front-page. Weird?