Fixed menu close issue