removing line draw when marker is selected event