Use Elementor Footer without Header

During my first steps with Elementor and ElementorPro I came accross this issue/feature. When you use Elementor to create your page footer it also removes the page header which was not intended in my case.

The reason is described somewhere in a github issue:
Many themes open some HTML tags in the header and close these tags in the footer again so if you use the following code example make sure your theme doesn’t.

add_action( 'elementor/theme/register_locations', function(){
  $elementor_theme_support = \ElementorPro\Plugin::instance()->modules_manager->get_modules('theme-builder')->get_component( 'theme_support' );	
  remove_action( 'get_header', [ $elementor_theme_support, 'get_header' ] );
}, 100);