Fixed bug with clicks