diff --git a/src/core/features/course/components/module/module.ts b/src/core/features/course/components/module/module.ts
index 5aa7db4c1..fa88c7094 100644
--- a/src/core/features/course/components/module/module.ts
+++ b/src/core/features/course/components/module/module.ts
@@ -93,9 +93,7 @@ export class CoreCourseModuleComponent implements OnInit, OnDestroy {
         this.hasInfo = !!(
             this.module.description ||
             (this.showActivityDates && this.module.dates && this.module.dates.length) ||
-            (this.autoCompletionTodo) ||
-            (this.module.visible === 0 && (!this.section || this.section.visible)) ||
-            (this.module.visible !== 0 && this.module.isStealth) ||
+            (this.autoCompletionTodo && !this.showLegacyCompletion) ||
             (this.module.availabilityinfo)
         );
 
diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss
index f1206c51f..f0245c87c 100644
--- a/src/theme/theme.base.scss
+++ b/src/theme/theme.base.scss
@@ -702,6 +702,10 @@ body.core-iframe-fullscreen ion-router-outlet {
     ion-backdrop {
         visibility: visible;
     }
+
+    .modal-shadow {
+        display: none;
+    }
 }
 
 .core-modal-transparent-no-filter {