It's not uncommon for movies to have different version of scenes, especially for DC movies. Shazam needed to be made correctly in order for the DCEU to keep going. To this day I still catch myself mimicking this scene. Check out both versions and decide which version you like better?
Here's what made it into the movie:
Here's the alternate cut