Refactored to IoC architecture; menu background effect now works.