Fixed menu hide issue