Make magic line stick onClick