Bug fix for accidental overlay menu