Fixed automatic menu opening