Connected to mousepress event