fixed issue in the menu jumping when turn from static to fixed