Fixes NEMO#642

Fixes NEMO#642: Double tap on a tab makes it disappeared
Merge pull request #1 from b7k/master

Fixes NEMO#642