Fixed a bug that may have broken clicking occasionally.