Fixes problem if ecommerce menu is displayed (regression)