Fixed touch detection for menu buttons