Fixed leak on closing menu