unit selection click bug fix