changed mouseClicked to use clickPoint more