Fixed a bug when double clicking

Fixed a bug that