Fixed click bug in battle phase