The problem is with the code for whatever you are using for the menu. Somewhere it's being told to stay "on top".