fix select attack enemy bug