Prevent menu bouncing