Fixed menu toggle bug