Fixed grabbing cursor issue on Firefox