Fixed the dot selection issue in FireFox