fixed attacking while moving